package com.hskn.hss.utils.redis.key;

import com.hskn.hss.utils.StringUtils;
import com.hskn.hss.utils.redis.BasePrefix;

/**
 * 该车辆违规空驶的持续时间
 */
public class CarViolationEmptyTravelTimeKeyToday extends BasePrefix {

    public static final int TOKEN_EXPIRE = StringUtils.getSecondsNextEarlyMorning().intValue();

    public static final String CAR_VIOLATION_EMPTY_TRAVEL_TIME_PREFIX = "CAR_VIOLATION_EMPTY_TRAVEL_TIME_TODAY_";

    private CarViolationEmptyTravelTimeKeyToday(int expireSeconds, String prefix) {
        super(expireSeconds, prefix);
    }

    public static CarViolationEmptyTravelTimeKeyToday token = new CarViolationEmptyTravelTimeKeyToday(TOKEN_EXPIRE, CAR_VIOLATION_EMPTY_TRAVEL_TIME_PREFIX);
}
